/**
 * Copyright(c) 2016-2019 by Euler
 * All Rights Reserved
 */
package com.booter.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author admin
 * feign 集成了ribbon 默认使用轮训负载算法
 */
@FeignClient(name = "booter-producer")
public interface ProducerClientService {

    @RequestMapping("user/index")
    String index(@RequestParam(value = "id") String id);

}
